package com.cs.sso.service.impl;

import com.cs.sso.dbo.ChangeLog;
import com.cs.sso.repository.ChangeLogRepository;
import com.cs.sso.service.ChangeLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ChangeLogServiceImpl implements ChangeLogService {
    @Autowired
    private ChangeLogRepository changeLogRepository;

    @Override
    public void log(ChangeLog changeLog) {
        changeLogRepository.save(changeLog);
    }
}
